MultipleAuthors\Classes\Installer S

Total Complexity 44
Dependencies 7
Dependents 2
Total lines 389
Lines of code 264
Logical lines of code 113
Comment lines 50
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
createAuthorTermsForPostsWithLegacyCoreAuthors()
A
42 10 59
runUpgradeTasks()
S
52 7 25
createAuthorTermsForLegacyCoreAuthors()
S
50 6 32
getPostsWithoutAuthorTerms()
S
44 4 47
getUsersAuthorsWithNoAuthorTerm()
S
46 3 44
runInstallTasks()
S
60 3 14
addEditPostAuthorsCapabilitiesToRoles()
S
60 3 14
flushRewriteRules()
S
72 2 6
createDefaultAuthorBoxes()
S
81 1 3
addDefaultCapabilitiesForAdministrators()
S
71 1 6
addManageLayoutsCapabilitiesToRoles()
S
75 1 4
addManageFieldsCapabilitiesToRoles()
S
75 1 4
createDefaultCustomFields()
S
81 1 3
updateAuthorBoxesFieldValue()
S
80 1 3